package de.homeR.services;

import java.util.List;

import de.homeR.services.domain.PluginMetaInformationCollection;
import de.homeR.services.exceptions.HomeRCommunicationException;
import de.homer.adapter.domain.ConfiguredPlugin;

/**
 * @author André Stannek
 * 
 */
public interface HomeRConfigurationService {

	/**
	 * @return all configured plugins known in
	 *         {@link ConfiguredPluginRepository}
	 */
	List<ConfiguredPlugin> getAllConfiguredPlugins();

	/**
	 * @return all plugins known in {@link PluginRepository}
	 * @throws HomeRCommunicationException
	 *             on error of communication between homer-client und
	 *             homer-server.
	 */
	PluginMetaInformationCollection getAllPlugins()
			throws HomeRCommunicationException;
}
